package com.fit.service;

import java.io.Serializable;
import java.util.Collection;

import org.apache.tapestry5.hibernate.annotations.CommitAfter;

import com.fit.interfaces.UserI;

public interface UsersI {

	@CommitAfter
	public UserI save(UserI user);
	
	public Collection<UserI> retrive();
	
	public UserI retriveSingleUser(Serializable userId);
	
	public UserI retriveSingleUser(String userName);
}
